package cn.com.yusys.yusp.admin.domain;

import cn.com.yusys.yusp.commons.mapper.annotation.Generated;
import cn.com.yusys.yusp.commons.mapper.annotation.GenerationType;
import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name = "acrm_cm_cust_base_info")
public class CustBasicInfo extends BaseDomain implements Serializable {
    @Id
    @Column(name = "cust_num")
    @Generated(GenerationType.UUID)
    private String custNum;

    @Column(name = "cust_name")
    private String custName;

    @Column(name = "ide_type")
    private String ideType;

    @Column(name = "ide_num")
    private String ideNum;

    @Column(name = "indus_type")
    private String indusType;

    @Column(name = "social_credit_code")
    private String socialCreditCode;

    @Column(name = "un_org_code")
    private String unOrgCode;

    @Column(name = "corp_legal")
    private String corpLegal;

    @Column(name = "float_char")
    private String floatChar;

    @Column(name = "corp_scale")
    private String corpScale;

    @Column(name = "econ_type")
    private String econType;

    @Column(name = "corp_subj")
    private String corpSubj;

    @Column(name = "found_dt")
    private Date foundDt;

    @Column(name = "main_business")
    private String mainBusiness;

    @Column(name = "minor_business")
    private String minorBusiness;

    @Column(name = "business_detail")
    private String businessDetail;

    @Column(name = "input_rgst_num")
    private String inputRgstNum;

    @Column(name = "input_rgst_type")
    private String inputRgstType;

    @Column(name = "cust_rgst_curr")
    private String custRgstCurr;

    @Column(name = "cust_rgst_address")
    private String custRgstAddress;

    @Column(name = "rgst_prin")
    private BigDecimal rgstPrin;

    @Column(name = "spec_oper_licence_num")
    private String specOperLicenceNum;

    @Column(name = "if_group_cust")
    private String ifGroupCust;

    @Column(name = "belong_group_name")
    private String belongGroupName;

    @Column(name = "present_overdue_max_days")
    private Integer presentOverdueMaxDays;

    @Column(name = "overdue_max_days")
    private Integer overdueMaxDays;

    @Column(name = "if_risk_cust")
    private String ifRiskCust;

    @Column(name = "risk_dt")
    private Date riskDt;

    @Column(name = "risk_level")
    private String riskLevel;

    @Column(name = "if_cred_cust")
    private String ifCredCust;

    @Column(name = "lv_five")
    private String lvFive;

    @Column(name = "lv_ten")
    private String lvTen;

    @Column(name = "hold_type")
    private String holdType;

    @Column(name = "dep_bal")
    private BigDecimal depBal;

    @Column(name = "year_avg_dep")
    private BigDecimal yearAvgDep;

    @Column(name = "loan_bal")
    private BigDecimal loanBal;

    @Column(name = "last_year_main_oper_income")
    private BigDecimal lastYearMainOperIncome;

    @Column(name = "dep_loan_prop")
    private BigDecimal depLoanProp;

    @Column(name = "sale_return_rate")
    private BigDecimal saleReturnRate;

    @Column(name = "bad_loan_bal")
    private BigDecimal badLoanBal;

    @Column(name = "int_prin_rate")
    private BigDecimal intPrinRate;

    @Column(name = "real_recv_loan_int_rate")
    private BigDecimal realRecvLoanIntRate;

    @Column(name = "dep_loan_int_diff")
    private BigDecimal depLoanIntDiff;

    @Column(name = "ftp_int_diff")
    private BigDecimal ftpIntDiff;

    @Column(name = "total_tbank_use_cred")
    private BigDecimal totalTbankUseCred;

    @Column(name = "total_use_cred")
    private BigDecimal totalUseCred;

    @Column(name = "cust_hier")
    private String custHier;

    @Column(name = "cust_dtl_hier")
    private String custDtlHier;

    @Column(name = "LAST_CUST_HIER")
    private String lastCustDtlHier;

    @Column(name = "cooper_viscosity")
    private Integer cooperViscosity;

    @Column(name = "oper_nav_income")
    private BigDecimal operNavIncome;

    @Column(name = "raroc")
    private BigDecimal raroc;

    @Column(name = "date_dt")
    private Date dateDt;

    @Column(name = "cust_type")
    private String custType;

    @Column(name = "industry_type")
    private String industryType;

    @Column(name = "corp_nature")
    private String corpNature;

    @Column(name = "emp_scale")
    private String empScale;

    @Column(name = "out_expos_bal")
    private BigDecimal outExposBal;

    @Column(name = "use_cred_limit_prop")
    private BigDecimal useCredLimitProp;

    @Column(name = "cred_level")
    private String credLevel;

    @Column(name = "cred_level_valid_dt")
    private Date credLevelValidDt;

    @Column(name = "cred_limit")
    private BigDecimal credLimit;

    @Column(name = "cred_limit_valid_dt")
    private Date credLimitValidDt;

    @Column(name = "cred_limit_used_flag")
    private String credLimitUsedFlag;

    private static final long serialVersionUID = 1L;

    public String getCustNum() {
        return custNum;
    }

    public void setCustNum(String custNum) {
        this.custNum = custNum == null ? null : custNum.trim();
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName == null ? null : custName.trim();
    }

    public String getIdeType() {
        return ideType;
    }

    public void setIdeType(String ideType) {
        this.ideType = ideType == null ? null : ideType.trim();
    }

    public String getIdeNum() {
        return ideNum;
    }

    public void setIdeNum(String ideNum) {
        this.ideNum = ideNum == null ? null : ideNum.trim();
    }

    public String getIndusType() {
        return indusType;
    }

    public void setIndusType(String indusType) {
        this.indusType = indusType == null ? null : indusType.trim();
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode == null ? null : socialCreditCode.trim();
    }

    public String getUnOrgCode() {
        return unOrgCode;
    }

    public void setUnOrgCode(String unOrgCode) {
        this.unOrgCode = unOrgCode == null ? null : unOrgCode.trim();
    }

    public String getCorpLegal() {
        return corpLegal;
    }

    public void setCorpLegal(String corpLegal) {
        this.corpLegal = corpLegal == null ? null : corpLegal.trim();
    }

    public String getFloatChar() {
        return floatChar;
    }

    public void setFloatChar(String floatChar) {
        this.floatChar = floatChar == null ? null : floatChar.trim();
    }

    public String getCorpScale() {
        return corpScale;
    }

    public void setCorpScale(String corpScale) {
        this.corpScale = corpScale == null ? null : corpScale.trim();
    }

    public String getEconType() {
        return econType;
    }

    public void setEconType(String econType) {
        this.econType = econType == null ? null : econType.trim();
    }

    public String getCorpSubj() {
        return corpSubj;
    }

    public void setCorpSubj(String corpSubj) {
        this.corpSubj = corpSubj == null ? null : corpSubj.trim();
    }

    public Date getFoundDt() {
        return foundDt;
    }

    public void setFoundDt(Date foundDt) {
        this.foundDt = foundDt;
    }

    public String getMainBusiness() {
        return mainBusiness;
    }

    public void setMainBusiness(String mainBusiness) {
        this.mainBusiness = mainBusiness == null ? null : mainBusiness.trim();
    }

    public String getMinorBusiness() {
        return minorBusiness;
    }

    public void setMinorBusiness(String minorBusiness) {
        this.minorBusiness = minorBusiness == null ? null : minorBusiness.trim();
    }

    public String getBusinessDetail() {
        return businessDetail;
    }

    public void setBusinessDetail(String businessDetail) {
        this.businessDetail = businessDetail == null ? null : businessDetail.trim();
    }

    public String getInputRgstNum() {
        return inputRgstNum;
    }

    public void setInputRgstNum(String inputRgstNum) {
        this.inputRgstNum = inputRgstNum == null ? null : inputRgstNum.trim();
    }

    public String getInputRgstType() {
        return inputRgstType;
    }

    public void setInputRgstType(String inputRgstType) {
        this.inputRgstType = inputRgstType == null ? null : inputRgstType.trim();
    }

    public String getCustRgstCurr() {
        return custRgstCurr;
    }

    public void setCustRgstCurr(String custRgstCurr) {
        this.custRgstCurr = custRgstCurr == null ? null : custRgstCurr.trim();
    }

    public String getCustRgstAddress() {
        return custRgstAddress;
    }

    public void setCustRgstAddress(String custRgstAddress) {
        this.custRgstAddress = custRgstAddress == null ? null : custRgstAddress.trim();
    }

    public BigDecimal getRgstPrin() {
        return rgstPrin;
    }

    public void setRgstPrin(BigDecimal rgstPrin) {
        this.rgstPrin = rgstPrin;
    }

    public String getSpecOperLicenceNum() {
        return specOperLicenceNum;
    }

    public void setSpecOperLicenceNum(String specOperLicenceNum) {
        this.specOperLicenceNum = specOperLicenceNum == null ? null : specOperLicenceNum.trim();
    }

    public String getIfGroupCust() {
        return ifGroupCust;
    }

    public void setIfGroupCust(String ifGroupCust) {
        this.ifGroupCust = ifGroupCust == null ? null : ifGroupCust.trim();
    }

    public String getBelongGroupName() {
        return belongGroupName;
    }

    public void setBelongGroupName(String belongGroupName) {
        this.belongGroupName = belongGroupName == null ? null : belongGroupName.trim();
    }

    public Integer getPresentOverdueMaxDays() {
        return presentOverdueMaxDays;
    }

    public void setPresentOverdueMaxDays(Integer presentOverdueMaxDays) {
        this.presentOverdueMaxDays = presentOverdueMaxDays;
    }

    public Integer getOverdueMaxDays() {
        return overdueMaxDays;
    }

    public void setOverdueMaxDays(Integer overdueMaxDays) {
        this.overdueMaxDays = overdueMaxDays;
    }

    public String getIfRiskCust() {
        return ifRiskCust;
    }

    public void setIfRiskCust(String ifRiskCust) {
        this.ifRiskCust = ifRiskCust == null ? null : ifRiskCust.trim();
    }

    public Date getRiskDt() {
        return riskDt;
    }

    public void setRiskDt(Date riskDt) {
        this.riskDt = riskDt;
    }

    public String getRiskLevel() {
        return riskLevel;
    }

    public void setRiskLevel(String riskLevel) {
        this.riskLevel = riskLevel == null ? null : riskLevel.trim();
    }

    public String getIfCredCust() {
        return ifCredCust;
    }

    public void setIfCredCust(String ifCredCust) {
        this.ifCredCust = ifCredCust == null ? null : ifCredCust.trim();
    }

    public String getLvFive() {
        return lvFive;
    }

    public void setLvFive(String lvFive) {
        this.lvFive = lvFive == null ? null : lvFive.trim();
    }

    public String getLvTen() {
        return lvTen;
    }

    public void setLvTen(String lvTen) {
        this.lvTen = lvTen == null ? null : lvTen.trim();
    }

    public String getHoldType() {
        return holdType;
    }

    public void setHoldType(String holdType) {
        this.holdType = holdType == null ? null : holdType.trim();
    }

    public BigDecimal getDepBal() {
        return depBal;
    }

    public void setDepBal(BigDecimal depBal) {
        this.depBal = depBal;
    }

    public BigDecimal getYearAvgDep() {
        return yearAvgDep;
    }

    public void setYearAvgDep(BigDecimal yearAvgDep) {
        this.yearAvgDep = yearAvgDep;
    }

    public BigDecimal getLoanBal() {
        return loanBal;
    }

    public void setLoanBal(BigDecimal loanBal) {
        this.loanBal = loanBal;
    }

    public BigDecimal getLastYearMainOperIncome() {
        return lastYearMainOperIncome;
    }

    public void setLastYearMainOperIncome(BigDecimal lastYearMainOperIncome) {
        this.lastYearMainOperIncome = lastYearMainOperIncome;
    }

    public BigDecimal getDepLoanProp() {
        return depLoanProp;
    }

    public void setDepLoanProp(BigDecimal depLoanProp) {
        this.depLoanProp = depLoanProp;
    }

    public BigDecimal getSaleReturnRate() {
        return saleReturnRate;
    }

    public void setSaleReturnRate(BigDecimal saleReturnRate) {
        this.saleReturnRate = saleReturnRate;
    }

    public BigDecimal getBadLoanBal() {
        return badLoanBal;
    }

    public void setBadLoanBal(BigDecimal badLoanBal) {
        this.badLoanBal = badLoanBal;
    }

    public BigDecimal getIntPrinRate() {
        return intPrinRate;
    }

    public void setIntPrinRate(BigDecimal intPrinRate) {
        this.intPrinRate = intPrinRate;
    }

    public BigDecimal getRealRecvLoanIntRate() {
        return realRecvLoanIntRate;
    }

    public void setRealRecvLoanIntRate(BigDecimal realRecvLoanIntRate) {
        this.realRecvLoanIntRate = realRecvLoanIntRate;
    }

    public BigDecimal getDepLoanIntDiff() {
        return depLoanIntDiff;
    }

    public void setDepLoanIntDiff(BigDecimal depLoanIntDiff) {
        this.depLoanIntDiff = depLoanIntDiff;
    }

    public BigDecimal getFtpIntDiff() {
        return ftpIntDiff;
    }

    public void setFtpIntDiff(BigDecimal ftpIntDiff) {
        this.ftpIntDiff = ftpIntDiff;
    }

    public BigDecimal getTotalTbankUseCred() {
        return totalTbankUseCred;
    }

    public void setTotalTbankUseCred(BigDecimal totalTbankUseCred) {
        this.totalTbankUseCred = totalTbankUseCred;
    }

    public BigDecimal getTotalUseCred() {
        return totalUseCred;
    }

    public void setTotalUseCred(BigDecimal totalUseCred) {
        this.totalUseCred = totalUseCred;
    }

    public String getCustHier() {
        return custHier;
    }

    public void setCustHier(String custHier) {
        this.custHier = custHier == null ? null : custHier.trim();
    }

    public String getCustDtlHier() {
        return custDtlHier;
    }

    public void setCustDtlHier(String custDtlHier) {
        this.custDtlHier = custDtlHier == null ? null : custDtlHier.trim();
    }

    public String getLastCustDtlHier() {
        return lastCustDtlHier;
    }

    public void setLastCustDtlHier(String lastCustDtlHier) {
        this.lastCustDtlHier = lastCustDtlHier == null ? null : lastCustDtlHier.trim();
    }

    public Integer getCooperViscosity() {
        return cooperViscosity;
    }

    public void setCooperViscosity(Integer cooperViscosity) {
        this.cooperViscosity = cooperViscosity;
    }

    public BigDecimal getOperNavIncome() {
        return operNavIncome;
    }

    public void setOperNavIncome(BigDecimal operNavIncome) {
        this.operNavIncome = operNavIncome;
    }

    public BigDecimal getRaroc() {
        return raroc;
    }

    public void setRaroc(BigDecimal raroc) {
        this.raroc = raroc;
    }

    public Date getDateDt() {
        return dateDt;
    }

    public void setDateDt(Date dateDt) {
        this.dateDt = dateDt;
    }

    public String getCustType() {
        return custType;
    }

    public void setCustType(String custType) {
        this.custType = custType == null ? null : custType.trim();
    }

    public String getIndustryType() {
        return industryType;
    }

    public void setIndustryType(String industryType) {
        this.industryType = industryType == null ? null : industryType.trim();
    }

    public String getCorpNature() {
        return corpNature;
    }

    public void setCorpNature(String corpNature) {
        this.corpNature = corpNature == null ? null : corpNature.trim();
    }

    public String getEmpScale() {
        return empScale;
    }

    public void setEmpScale(String empScale) {
        this.empScale = empScale == null ? null : empScale.trim();
    }

    public BigDecimal getOutExposBal() {
        return outExposBal;
    }

    public void setOutExposBal(BigDecimal outExposBal) {
        this.outExposBal = outExposBal;
    }

    public BigDecimal getUseCredLimitProp() {
        return useCredLimitProp;
    }

    public void setUseCredLimitProp(BigDecimal useCredLimitProp) {
        this.useCredLimitProp = useCredLimitProp;
    }

    public String getCredLevel() {
        return credLevel;
    }

    public void setCredLevel(String credLevel) {
        this.credLevel = credLevel == null ? null : credLevel.trim();
    }

    public Date getCredLevelValidDt() {
        return credLevelValidDt;
    }

    public void setCredLevelValidDt(Date credLevelValidDt) {
        this.credLevelValidDt = credLevelValidDt;
    }

    public BigDecimal getCredLimit() {
        return credLimit;
    }

    public void setCredLimit(BigDecimal credLimit) {
        this.credLimit = credLimit;
    }

    public Date getCredLimitValidDt() {
        return credLimitValidDt;
    }

    public void setCredLimitValidDt(Date credLimitValidDt) {
        this.credLimitValidDt = credLimitValidDt;
    }

    public String getCredLimitUsedFlag() {
        return credLimitUsedFlag;
    }

    public void setCredLimitUsedFlag(String credLimitUsedFlag) {
        this.credLimitUsedFlag = credLimitUsedFlag == null ? null : credLimitUsedFlag.trim();
    }

}